package com.feisuanyz.service;

import com.feisuanyz.pojo.domain.MealSelectionDO;
import com.feisuanyz.pojo.dto.MealSelectionDTO;
import com.feisuanyz.pojo.query.MealSelectionQuery;
import com.feisuanyz.pojo.vo.PageResult;
import java.lang.Boolean;
import java.lang.Long;

/**
 * 历史记录管理
 *
 * @author Chenke Zhao
 * @date 2025-03-06 10:18:05
 */
public interface MealSelectionService {

    /**
     * records
     *
     * @param query 食物选择查询入参实体类
     * @return
     */
    PageResult<MealSelectionDO> getMealSelectionRecords(MealSelectionQuery query);

    /**
     * add
     *
     * @param mealSelectionDTO 食物选择记录入参实体类
     * @return
     */
    Boolean addMealSelection(MealSelectionDTO mealSelectionDTO);

    /**
     * update
     *
     * @param mealSelectionDTO 食物选择记录入参实体类
     * @return
     */
    Boolean updateMealSelection(MealSelectionDTO mealSelectionDTO);

    /**
     * delete
     *
     * @param selectionId
     * @return
     */
    Boolean deleteMealSelection(Long selectionId);
}
